home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 2 / ACE CD 2.iso / FILES / UTILS / HSBASIC2.DMS / in.adf / HB2Examples1.3.Lha / Examples / GetDiskUnitID / ReadMe < prev   
Encoding:
Text File  |  1994-04-14  |  854 b   |  22 lines

  1. GetDiskUnitID.bas - Simple disk.resource example
  2. ================================================
  3.  
  4. Derived from RKM example (c) Copyright 1992 Commodore-Amiga, Inc.
  5.  
  6. This is a straightforward translation of the Commodore disk.resource example
  7. taken from the Devices RKM p.336.
  8.  
  9. The example shows simple use of a resource: opening the resource, attaching it
  10. as a library base pointer and calling routines from within it.
  11.  
  12. The example will work on all non-obsolete versions of Workbench (V33 and
  13. above).
  14.  
  15. Compiling
  16. ---------
  17. Load the GetDiskUnitID_inc.bh file and Tokenise it (Program-Tokenise), making
  18. sure you have no token file selected in the File Options (Settings-Compiler-
  19. Files). Once you have your token file, set the File Options-Token File setting
  20. to the GetDiskUnitID_inc.t file just created. Load the GetDiskUnitID.bas file,
  21. compile & run it.
  22.